package ${basePackage}.maker.cli.command;

import java.io.File;
import java.util.List;
import java.util.concurrent.Callable;

import cn.hutool.core.io.FileUtil;
import picocli.CommandLine;

/**
 * @author Administrator
 */
@CommandLine.Command(name = "list", version = "list 1.0", mixinStandardHelpOptions = true)
public class ListCommand implements Callable<Integer> {


    @Override
    public Integer call() throws Exception {
        List<File> fileList = FileUtil.loopFiles(new File(${outputPath}));
        fileList.forEach(System.out::println);
        System.out.println();
        return 0;
    }
}
